#pragma once
#include <map>
#include "Vertex.h"
#include "GraphDescription.h"
#include <vector>

class FlowGenerator
{
private:
	int orderId;
	GraphDescription graphDesc;
	map<string,int> nameOrderMap;
	map<int,string> orderNameMap;
public:
	FlowGenerator(void);
	~FlowGenerator(void);
	string gen_random_string(const int len);
	string gen_unique_random_string();
	void generateEdge(float propability);
	GraphDescription generateGraph(int cargoAmount, int vertexCount, float propability);
	bool tryGenerateNewVertex(string vId);
	void tryAddEdge(int i, int j, int vCount);	
};

